package com.hsh;

import com.hsh.utils.vo.ResultBase;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * <p>
 * </p>
 *
 * @author 黄思海
 * @date 2021/7/9 14:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TodoObj {
    private static final Logger logger = LoggerFactory.getLogger(TodoObj.class);

    private String userId;
    private String username;

    public String constructionFiled() {
        return userId + ": " + username;
    }

    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        System.out.println(ResultBase.getFailResult("错误的代码！"));


//        String folder = "E:\\Program Files (x86)\\MyIJTask\\AfterWork\\mywork\\";
//        String s = UploadFileUtils.createDirectory(folder);
//        System.out.println(s);
//        TodoObj todo = new TodoObj();
//        Class<? extends TodoObj> aClass1 = todo.getClass();
//        System.out.println(aClass1);
//        System.out.println(aClass1.hashCode());
//
//        Class<?> aClass2 = Class.forName(TodoObj.class.getName());
//        System.out.println(aClass2);
//        System.out.println(aClass2.hashCode());
//
//        Class<TodoObj> aClass3 = TodoObj.class;
//        System.out.println(aClass3);
//        System.out.println(aClass3.hashCode());

    }
}
